import request from '@/common/request'

export function login(data) {
    return request({
        url: '/apiadmin/login',
        method: 'post',
        data: data
    })
}
export function logout() {
    return request({
        url: '/apiadmin/loginout',
        method: 'get'
    })
}
export function clear() {
    return request({
        url: '/apiadmin/clear',
        method: 'get'
    })
}